7.2 Setting up an administrator configuration override file

As an administrator, you can provide a configuration file that provides overrides to the user's preferences; you can also specify whether the user can override these defaults.

To provide a configuration override file, create the following file:

%ProgramData%/Intercede/MyID Client/MyIDClientConfig.xml

For example:

Copy
<configuration>
    <appSettings>
        <add key="ServerAddress" value="http://myid.example.com"/>
        <add key="AllowedServers" value="Production = https://myid.example.com, Test = https://testmyid.example.com,https://myid2.example.com" />
        <add key="Username" value="susan.smith"/>
        <add key="EnableRememberMe" value="true"/>
        <add key="ClientID" value="c522dd89-a35d-4de6-b8d8-35d97614fc69"/>
        <add key="UseLegacySsaPlatform" value="true"/>
        <add key="UseLegacyPassphraseCollection" value="false"/>
        <add key="EnableLogging" value="false" isUserOverridable="true"/>
        <add key="LogFilePath" value="C:\Logs\myidClientLog.xml" isUserOverridable="True" />
        <add key="UmcLogFilePath" value="C:\Logs\IntercedeUMC.log" isUserOverridable="True" />
        <add key="EnableWebServiceLogging" value="false" isUserOverridable="false"/>
        <add key="CardPickerHeaderPrecedence" value="dfn;chn;dtn">
    </appSettings>
</configuration>

Each option contains a key and a value. By default, if the option exists in the configuration file, the user cannot use the Configuration screen in the MyID Client for Windows to override it; if you want the user to be able to override it, you can add isUserOverridable="true" to the option.

The following options are available:

7.2.1 Server location

You can set the server location in the configuration file.

To set a single server location, use the following:

Copy
<add key="ServerAddress" value="http://myid.example.com"/>

Where the value is the address of the server you want to use.

If you want to provide a list of servers from which the user can select, use the following:

Copy
<add key="AllowedServers" value="Production = https://myid.example.com, Test = https://testmyid.example.com,https://myid2.example.com" />

Where the value is a comma-separated list of server addresses. You can also optionally provide a display name for each server:

Display Name = https://<serveraddress>

These display names are provided in the following places:

By default, the MyID Client for Windows uses the first server in the AllowedServers list. If you want to specify a different server as the default, you can set the ServerAddress option to your preferred default server:

Copy
<add key="ServerAddress" value="http://testmyid.example.com" isUserOverridable="True" />
<add key="AllowedServers" value="Production = https://myid.example.com, Test = https://testmyid.example.com,https://myid2.example.com" />

If you set the isUserOverridable option to "True" on the ServerAddress option, the user can change the server to any of the allowed servers using the Default Server Address drop-down list in the Communication section of the Configuration screen.